package com.zhuo.project.hms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zhuo.framework.aspectj.lang.annotation.Excel;
import com.zhuo.framework.web.domain.BaseEntity;

/**
 * 诊所仓库关系信息对象 zz_clinic_ref_depot
 * 
 * @author zhuo
 * @date 2020-04-13
 */
public class ZzClinicRefDepot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String depotCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String depotName;

    /** 诊所编码 */
    @Excel(name = "诊所编码")
    private String clinicCode;

    /** 诊所名称 */
    @Excel(name = "诊所名称")
    private String clinicName;

    /** 部门编码 */
    @Excel(name = "部门编码")
    private String departmentCode;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 是否有效 1有效 2无效 */
    @Excel(name = "是否有效 1有效 2无效")
    private Integer isValid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDepotCode(String depotCode) 
    {
        this.depotCode = depotCode;
    }

    public String getDepotCode() 
    {
        return depotCode;
    }
    public void setDepotName(String depotName) 
    {
        this.depotName = depotName;
    }

    public String getDepotName() 
    {
        return depotName;
    }
    public void setClinicCode(String clinicCode) 
    {
        this.clinicCode = clinicCode;
    }

    public String getClinicCode() 
    {
        return clinicCode;
    }
    public void setClinicName(String clinicName) 
    {
        this.clinicName = clinicName;
    }

    public String getClinicName() 
    {
        return clinicName;
    }
    public void setDepartmentCode(String departmentCode) 
    {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentCode() 
    {
        return departmentCode;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setIsValid(Integer isValid) 
    {
        this.isValid = isValid;
    }

    public Integer getIsValid() 
    {
        return isValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("depotCode", getDepotCode())
            .append("depotName", getDepotName())
            .append("clinicCode", getClinicCode())
            .append("clinicName", getClinicName())
            .append("departmentCode", getDepartmentCode())
            .append("departmentName", getDepartmentName())
            .append("orderNum", getOrderNum())
            .append("isValid", getIsValid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
